Skip to content

fix(devices): list the iPhone Duo and draw its cover's camera hole where it is - #1033

Merged
badcuban merged 1 commit into
mainfrom
fix/duo-runtime-listing
Nov 21, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/duo-runtime-listing

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

The iPhone Duo couldn't be used in the Device tab, and its cover was drawn with the wrong cutout.

The Duo never appeared in the device list. The Duo runs on an iOS runtime made only for it: iOS-27-2-iPhone19-4 (build 24B91016s). Xcode's regular iOS 27.2 runtime (24B8117) lists the Duo as unsupported. Our listing of never-booted simulators accepted only plain runtime names like iOS-27-2, so a fresh Duo was skipped. It now also accepts a runtime with a model suffix, and still reports the version as "iOS 27.2". The listing test covers it and fails without the fix.

The cover cutout was wrong. The cover was drawn with the iPhones' centered Dynamic Island. The real cover has a round camera hole near the top right. I measured it on the live simulator's framebuffer: 111 px across, centered at 1254 × 143 px of 1398 × 2034, at 3x. The frame now draws it there, through an optional centerX on punch-hole cutouts.

Checked live on this Mac, with the Duo runtime installed via xcodebuild -downloadPlatform iOS, in an isolated Threadlines stack:

  • The Duo shows in the list and boots from the Device tab.
  • The cover streams.
  • Every stance works: Closed shows the cover, Open shows the inner screen, and Book and Tent show the inner screen with the cover off.
  • A tap on the cover opens an app.
  • The drawn camera hole sits exactly on the simulator's.

vp fmt, vp lint and vp run typecheck are clean. The server device tests, web device tests and Device browser tests pass.

…ere it is

The iPhone Duo runs on a runtime made for it (iOS-27-2-iPhone19-4), and
the never-booted simulator listing only accepted plain iOS-27-2 names, so a
fresh Duo never appeared in the Device tab. The listing now accepts a
model suffix and still reports iOS 27.2.

The Duo's cover was drawn with the iPhones' centered Dynamic Island; the
real cover has a round camera hole near the top right. Measured on the
live simulator and drawn there.
@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 20, 2026 11:57pm UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 21, 2026
@badcuban
badcuban added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit fd3445c Nov 21, 2026
23 checks passed
@badcuban
badcuban deleted the fix/duo-runtime-listing branch November 21, 2026 01:01

This branch was previously deployed

1 inactive deployment
Preview — 81c71c6c Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant